package com.mentorgen.tools.profile.runtime;

import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

public class EntityDictionary {

	private static final long serialVersionUID = 2173323620423171664L;
	
	private static ConcurrentMap<String, BundleInternals> _bundleLoaderDic = new ConcurrentHashMap<String, BundleInternals>(50);
	private static ConcurrentMap<String, String> _loaderClassDic = new ConcurrentHashMap<String, String>(1001);
	private static ThreadDictionary _threadDictionary = new ThreadDictionary();
	private static ConcurrentMap<String, Method> _methodDictionary = new ConcurrentHashMap<String, Method>(2003);
	private static ConcurrentMap<String, ClassAllocation> _allocList  = new ConcurrentHashMap<String, ClassAllocation>();

	public static ConcurrentMap<String, BundleInternals> getBundleDic(){
		return _bundleLoaderDic;
	}
	
	public static ConcurrentMap<String, String> getloaderClassDic(){
		return _loaderClassDic;
	}
	
	protected static ThreadDictionary getThreadDic(){
		return _threadDictionary;
	}
	
	public static ConcurrentMap<String, Method> getMethodDic(){
		return _methodDictionary;
	}
	
	protected static ConcurrentMap<String, ClassAllocation> getAllocList(){
		return _allocList;
	}
}


